

package com.maoshi.shop.bean.app.dto;

import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("我的订单")
public class MyOrderDto {

	@ApiModelProperty(value = "订单项",required=true)
	private List<MyOrderItemDto> orderItemDtos;

	@ApiModelProperty(value = "订单号",required=true)
	private String orderNumber;

	@ApiModelProperty(value = "总价",required=true)
	private Double actualTotal;

	@ApiModelProperty(value = "订单状态",required=true)
	private Integer status;

	@ApiModelProperty(value = "订单类型(0普通订单 1团购订单 2秒杀订单)",required=true)
	private Integer orderType;

	@ApiModelProperty(value = "店铺名称",required=true)
	private String shopName;

	@ApiModelProperty(value = "店铺id",required=true)
	private Long shopId;

	@ApiModelProperty(value = "订单运费",required=true)
	private Double freightAmount;

	@ApiModelProperty(value = "订单创建时间",required=true)
	private Date createTime;

	//代码合并开始
	@ApiModelProperty(value = "加入购物车订单类型（1普通订单 2餐前配送 3酒店房间下单）",required=true)
	private Integer orderTypeBasket;
	//代码合并结束
}
